import request from '@/utils/request'

const baseApi = process.env.VUE_APP_BASE_API + '/course/mineCourse'

export function listStudentMineCourse(reqData) {
  return request({
    url: `${baseApi}/list/student`,
    method: 'post',
    data: reqData
  })
}

export function listTeacherMineCourse(reqData) {
  return request({
    url: `${baseApi}/list/teacher`,
    method: 'post',
    data: reqData
  })
}

export function getStudentCourseTable(reqData) {
  return request({
    url: `${baseApi}/courseTable/student`,
    method: 'post',
    data: reqData
  })
}

export function getTeacherCourseTable(reqData) {
  return request({
    url: `${baseApi}/courseTable/teacher`,
    method: 'post',
    data: reqData
  })
}
